Reference

Exporting to Different Formats

You can create files of several different types from your OmniGraffle diagrams. Select Export from the File menu. When you export, a new file is written to the disk, leaving your original document as it is on the screen. Of course, not all aspects of a diagram can be represented in all file formats.

The available file formats are:

Depending on the file format you choose, you have different options. Most offer an Export Area option, with which you can choose how much of the document to export.

Depending on the format you choose, you can also choose a scale for exporting smaller or larger than actual size, the resolution, the compression level, and whether to make the background transparent.

Importing from Other Applications

Several different file formats can be understood by OmniGraffle. You can import these files by opening them just as you would open a normal OmniGraffle file.

(PRO) Microsoft® Visio® documents, templates, and stencils (.vsd, .vdx, .vst, .vtx, .vss, .vsx)

DOT files (.dot)

Diagram! 2 documents (.diagram2 and .dpalette2)

OmniOutliner documents (.ooutline and .oo3)

(Pro) Xcode projects (.xcode), Project Builder projects (.pbproj), and frameworks (.framework)

(Pro) Interface Builder nib files (.nib)

EOModeler files (.eomodeld)

Folder structures

AppleScript Support (Pro)

OmniGraffle has extensive AppleScript support, making it easy for you to automate tasks within or to create entirely new OmniGraffle projects. To find out more about how OmniGraffle’s AppleScript object model and commands, launch AppleScript Editor (/Applications/Utilities, or use Shift-⌘-U while in the Finder), choose File > Open Dictionary, and then choose your version of OmniGraffle from the Open Dictionary dialog.

You can store AppleScripts in OmniGraffle’s scripts folder, for easy access from the Scripts menu. You can also attach scripts to individual objects on a canvas, using the Action inspector. When you activate the Browse tool, then click an object with a script attached, the script runs.

If you select some objects and then choose Edit > Copy As > AppleScript from the menu bar, you get the exact lines of AppleScript necessary to create those objects. This is a great way to learn how OmniGraffle’s AppleScript support works, or to add specific objects to your own scripts.

LinkBack

LinkBack is a way of embedding content between applications in such a way that you can always go back and edit the content with the software used to create it originally.

For lots of information about LinkBack, and a list of applications that support it, check the website at www.linkbackproject.org.

To embed OmniGraffle content in another LinkBack application, just copy and paste the content like you would normally. The same goes for embedding other applications’ content in OmniGraffle diagrams.

To embed OmniGraffle content inside a single object in OmniGraffle, select all of the objects on your canvas (⌘-A), choose Edit > Copy As > PDF from the menu bar, and then Paste (⌘-V). The objects you copied become a single image; double-clicking the object opens a new OmniGraffle window in which you can edit the objects to your heart’s content.

To edit OmniGraffle content embedded in another application:

Licensing

From the menu bar, choose OmniGraffle > Licenses to see the Licenses dialog. From here you can review and edit your OmniGraffle licenses, which verify that you’ve actually paid for the software. (Thanks!)

To purchase a license:

To add a new license:

  1. From the menu bar, choose OmniGraffle > Licenses to see the Licenses dialog.

  2. Click Add License.

  3. If you have a license key in an email message, copy and paste both the Owner name and the License Key into the appropriate fields. If you can’t copy and paste the information, you’ll have to type it in; make sure you copy everything exactly as it appears in your license message, including the dashes. Also, double-check that the license you’re entering really is a license for OmniGraffle 6, and that it is for the correct edition (Professional or Standard); licenses for other Omni products or earlier versions of OmniGraffle won’t work.

  4. Use the drop-down menu to select the type of license you would like to use. (Keep reading to learn about license types.)

    OmniGraffle has two different types of licenses:

    • Personal: This license is for your personal use, and will only be available on this computer when you are logged in as the user who installed the license. You can install this license on more than one computer, but only for your personal use. You should not use the software on two different computers at the same time with this kind of license. If a personal license is available, the application will always use it.

    • Computer: You can use this license on this computer, and so can any other user of this computer. However, you should not install this license on more than one computer. If both a network license and a computer license are available, the application will prefer the computer license.

  5. Click Save.

To remove a license:

  1. Select the license you want to remove.
  2. Click Delete License.

To move a license from one Mac to another:

  1. First, find the license file on the old computer. OmniGraffle license files are located in the folder Library/Application Support/Omni Group/Software Licenses, where Library is either at the top level of your system disk (for computer licenses), or in your Home folder (for personal licenses). The file you are looking for has a name such as omnigraffle–123456.omnilicense. Move this file to the new computer.

  2. On the new computer, choose OmniGraffle > Licenses from the menu bar and then click Add License.

  3. On the sheet that appears, click Import License File.

  4. Locate and select the license file that you want to import.

  5. Click Open. If the license file is compatible—meaning, it is for the same version of OmniGraffle—the license will be added to OmniGraffle on your other system.

Again, the thing to remember here is that license keys are version-specific; the license key you have for OmniGraffle 5 is not compatible with OmniGraffle 6 (and vice versa).

Note
You can disregard the Licensing section if you've purchased your copy of OmniGraffle (Standard or Pro) from the Mac App Store. Licensing is only an issue if you've purchased your copy of OmniGraffle direct from The Omni Group's website.

Regular Expression Syntax

OmniGraffle’s Find dialog supports the use of some simple regular expressions. A regular expression is a single string that represents a whole set of strings. The following syntax is used:

Regular expressions are very popular, so you should be able to find plenty of information about them on the internet or in a good library or bookstore. Here are a few examples to get you started:

Home Every Single Menu Command 〉